package com.lyeducation.controllers.dto;

import com.lyeducation.entities.course.VideoAccessRoleEnum;
import lombok.Data;

@Data
public class VideoDto {
    private String chapterId;
    private String name;
    private String object;
    private long size;
    private String mimeType;
    private String url;
    private int sort;
    private String imgBase64;
    private VideoAccessRoleEnum videoAccessRole;
//            videoEntity.setName(ossCallbackBody.get("object").toString());
//        videoEntity.setLength(Long.valueOf(ossCallbackBody.get("size").toString()));
//        videoEntity.setMimeType(ossCallbackBody.get("mimeType").toString());
//        videoEntity.setRelativePath(ossCallbackBody.get("url").toString());
}

